import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './registerServiceWorker'
//引入bootstrap和样式需要的配置项
import bootstrap from 'bootstrap'
import $ from 'jquery'
import 'bootstrap/dist/css/bootstrap.css'
 import 'bootstrap/dist/js/bootstrap.min'
 //引入element
 import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
//引入echarts
import echarts from 'echarts'
Vue.prototype.$echarts = echarts;
Vue.config.productionTip = false
//server.js
// import serve from '../server.js'

//时间插件
import moment from 'moment';
Vue.filter('format',()=>{
  return moment().format('YYYY-MM-DD')
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
